interface Menu {
    id: string
    name: string
    type: number
    routePath: string

    children?: Menu[]
}

const menuList: Menu[] = [
    {
        id: 'medicine',
        name: '药品管理',
        type: 2,
        routePath: '/medicine'
    },
    {
        id: 'demo-component',
        name: '组件',
        type: 1,
        routePath: '/demo/component',
        children: [
            {
                id: 'demo-medicine',
                name: '选药品组件',
                type: 2,
                routePath: '/demo-component-medicine'
            }
        ]
    }
]

export type {Menu}
export {menuList}
